package com.axzhengxin.platform.business.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.axzhengxin.platform.afterloan.domain.FspCorInf;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 续贷信息对象 biz_renew_loan_info
 * 
 * @author axzhengxin
 * @date 2021-04-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BizRenewLoanInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 续贷信息id */
    private String renewLoanId;

    /** 对应流程ID */
    @Excel(name = "对应流程ID")
    private String flowUid;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String customerId;

    /** 产品代码 */
    @Excel(name = "产品代码")
    private String productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 融资金额 */
    @Excel(name = "融资金额")
    private BigDecimal financeAmount;

    /** 产品类型（默认续贷） */
    @Excel(name = "产品类型", readConverterExp = "默=认续贷")
    private String productType;

    /** 融资时间（3、6、12个月等） */
    @Excel(name = "融资时间", readConverterExp = "3=、6、12个月等")
    private Integer financeTime;

    /** 金融机构 */
    @Excel(name = "金融机构")
    private String financeOrg;

    /** 原贷款到期日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "原贷款到期日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date originalLoanEndTime;

    /** 原贷款银行 */
    @Excel(name = "原贷款银行")
    private String originalBank;

    /** 原贷款金额 */
    @Excel(name = "原贷款金额")
    private Long originalLoanAmount;

    /** 原担保方式 */
    @Excel(name = "原担保方式")
    private Long originalGuaranteeType;

    /** 同意续贷银行 */
    @Excel(name = "同意续贷银行")
    private String allowBank;

    /** 申请续贷过桥资金（万元） */
    @Excel(name = "申请续贷过桥资金", readConverterExp = "万=元")
    private Long bridgeAmount;

    /** 项目情况 */
    @Excel(name = "项目情况")
    private String projectSituation;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 区域
     */
    private String customerAreaNo;

    /**
     * 行业
     */
    private String pciBelongNo;

    public String pciBelongType;

    public String customerArea;

    private String createName;

    private String createDept;

    private Integer status;

    public FspCorInf fspCorInf;

    private String fprFinanceName;

}
